package com.markyao.service;

import com.markyao.dao.pojo.User;
import com.markyao.vo.Result;
import com.markyao.vo.parmas.UserParmas;

public interface UserService {
    public Result addUser(UserParmas userParmas);

    public Result findByUser(UserParmas userParmas);

    public Result changePwd(UserParmas userParmas);

    Result findByUid(Integer uid);

    Result updateInfo(UserParmas userParmas);

    Result updateAvater(User user);

    Result  login(UserParmas userParmas);


//    public Result findUserBytoken(String token);

public Result logout(String token);

    public  User checkT(String token);
}
